import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/equip_instrument_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/equip_instrument_entity.g.dart';

/// 仪表联锁实体
@JsonSerializable()
class EquipInstrumentEntity {

	EquipInstrumentEntity();

	factory EquipInstrumentEntity.fromJson(Map<String, dynamic> json) => $EquipInstrumentEntityFromJson(json);
	String? createBy = '';
	String? createById = '';
	String? createDate = '';
	String? deleted = '';
	String? deviceId = '';
	String? deviceName = '';
	String? faultHandling = '';
	String? interlockLog = '';
	String? filePath = '';
	List<String>? filePathList = [];
	String? id = '';
	String? instrumentLogo = '';
	String? interlockDeviceType = '';
	String? interlockDeviceTypeName = '';
	String? interlockLogic = '';
	String? interlockOperation = '';
	String? interlockOrder = '';
	String? interlockRelation = '';
  ///是否投用（0,否，1是）
	String? isUsed = '';
	String? interlockStatus = '';
	String? updateBy = '';
	String? updateById = '';
	String? updateDate = '';

	Map<String, dynamic> toJson() => $EquipInstrumentEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
